package com.ecnu.system.mapper;

import com.ecnu.system.domain.ProjectPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecnu.system.domain.dto.ProjectPlanDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ecnu_活动_计划表 Mapper 接口
 * </p>
 *
 * @author zdn
 * @since 2025-03-24
 */
@Mapper
public interface ProjectPlanMapper extends BaseMapper<ProjectPlan> {

    int updateByMissionId(@Param("plan") ProjectPlan plan);

    List<ProjectPlan> selectLists(@Param("dto")ProjectPlanDTO dto, @Param("userId")Long userId);
}
